package com.jxd.project.absence.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jxd.project.absence.model.Emp;
import com.jxd.project.absence.vo.EmpInfo;
import com.jxd.project.travel.model.Travel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IEmpDao extends BaseMapper<Emp> {
    EmpInfo getEmpInfo(@Param("empno") int empno);
    List<Travel> getTravelListByEmpno(@Param("pageStart") int pageStart, @Param("pageSize") int pageSize, @Param("deptno") int deptno);

}
